<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Successfully submit the order-<?php echo ($tpshop_config['shop_info_store_title']); ?></title>
<meta http-equiv="keywords" content="<?php echo ($tpshop_config['shop_info_store_keyword']); ?>" />
<meta name="description" content="<?php echo ($tpshop_config['shop_info_store_desc']); ?>" />
</head>
<body>
<script src="/Public/js/jquery-1.8.2.min.js"></script>    
<script src="/Public/js/global.js"></script>
<script src="/Public/js/pc_common.js"></script>
<script src="/Public/js/layer/layer.js"></script><!-- 弹窗js 参考文档 http://layer.layui.com/-->
<link rel="stylesheet" href="/Public/Static/css/index.css" type="text/css">

<link href="/Public/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
<link href="/Public/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="/Public/images1/ICONlogo.png" type="image/x-icon"/>
<link href="/Public/basic/css/demo.css" rel="stylesheet" type="text/css" />

<link href="/Public/css1/hmstyle.css" rel="stylesheet" type="text/css"/>
<link href="/Public/css1/skin.css" rel="stylesheet" type="text/css" />
<script src="/Public/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
<script src="/Public/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
<div class="am-container header">
    <ul class="message-l">
        <div class="topMessage">
            <div class="menu-hd">
                <a href="<?php echo U('Home/User/login');?>" target="_top" class="h" style="border-right: 1px solid #000">Sign in&nbsp;</a>
                <a href="<?php echo U('Home/User/register');?>" target="_top">Join</a>
            </div>
        </div>
    </ul>
    <ul class="message-r">
        <div class="topMessage home">
            <div class="menu-hd"><a href="<?php echo U('Home/Index/index');?>" target="_top" class="h"><span>INDEX</span></a></div>
        </div>
        <div class="topMessage my-shangcheng">
            <div class="menu-hd MyShangcheng"><a href="<?php echo U('Home/User/index');?>" target="_top"><img src="/Public/images1/user.png"  alt=""><span>Personal center</span></a></div>
        </div>
        <div class="topMessage mini-cart">
            <div class="menu-hd"><a id="mc-menu-hd" href="<?php echo U('Home/Cart/cart');?>" target="_top"><img src="/Public/images1/shop.png" alt=""><span>Shopping cart</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="#" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Favorite</span></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="<?php echo U('Home/User/logout');?>" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Logout</span></a></div>
        </div>
    </ul>
</div>
    
    <div class="order-header">
    	<div class="layout after">
        	<div class="fl">
            	<div class="logo pa-to-36 wi345">
                	<a href="/"><img src="<?php echo ($tpshop_config['shop_info_store_logo']); ?>" alt=""></a>
                </div>
            </div>
        	<div class="fr">
            	<div class="pa-to-36 progress-area">
                	<div class="progress-area-wd" style="display:none">我的购物车</div>
                	<div class="progress-area-tx" style="display:none">填写核对订单信息</div>
                	<div class="progress-area-cg">成功提交订单</div>
                </div>
            </div>
        </div>
    </div>
    <div class="layout after-ta order-ha">
    	<div class="erhuh">
        	<i class="icon-succ"></i>
            <h3>Order submitted success, please pay as soon as possible!</h3>
            <p class="succ-p">order number:&nbsp;&nbsp;<?php echo ($order['order_sn']); ?>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
                Payment amount（$）：&nbsp;&nbsp;<b><?php echo ($order['order_amount']); ?></b>&nbsp;<b></b></p>
            <div class="succ-tip">
                Please you in&nbsp;&nbsp;<b><?php echo ($pay_date); ?></b>&nbsp;Complete the payment, otherwise the order will be automatically canceled
            </div>
        </div>
        <!--<div class="ddxq-xiaq">-->
        	<!--&lt;!&ndash;<a href="<?php echo U('Home/User/order_detail',array('id'=>$order['order_id']));?>">&ndash;&gt;-->
                <!--&lt;!&ndash;Order details&ndash;&gt;-->
                <!--&lt;!&ndash;<i></i>&ndash;&gt;-->
            <!--&lt;!&ndash;</a>&ndash;&gt;-->
        <!--</div>-->
        <div class="orde-sjyy" style="margin-top: 30px;">
        	<h3 class="titls" style="font: bold 18px  Arial ;">Select Payment Method</h3>
            <div class="bsjy-g">
            	<dl>
            		<dd>
						<div class="order-payment-area">
                        	<div class="dsfzfpte">
                            	<b>Select Payment Method</b>
                            </div>
                            <div class="po-re dsfzf-ee">
                            	<ul>
                                    <li>
                                        <div class="payment-area">
                                            <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                                                <input type="hidden" name="cmd" value="_xclick">
                                                <input type="hidden" name="business" value="<?php echo ($bussiness); ?>">
                                                <input type="hidden" name="item_name"
                                                       value="Test">
                                                <input type="hidden" name="item_number"
                                                       value="1">
                                                <input type="hidden" name="amount" value="<?php echo ($order["order_amount"]); ?>">
                                 <!--               <input type="hidden" name="no_shipping" value="2">
                                                <input type="hidden" name="no_note" value="1">-->
                                                <input type="hidden" name="currency_code" value="USD">
                                                <!--<input type="hidden" name="bn" value="IC_Sample">-->

                                                <input type="hidden" name="invoice" value="<?php echo ($order["order_sn"]); ?>">
                                                <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif"
                                                       name="submit" alt="Make payments with payPal - it's fast,free and secure!">
                                                <img alt=""
                                                     src="https://www.paypal.com/en_US/i/scr/pixel.gif"
                                                     width="1" height="1">
                                            </form>
                                        </div>
                                    </li>
                            	</ul>
                            </div>
                        </div>  

                                                             	
                    </dd>
            	</dl>
           <!--     <div class="order-payment-action-area">
                    <a class="button-style-5 button-confirm-payment" href="javascript:void(0);" onClick="$('#cart4_form').submit();" >Confirm payment method</a>
                </div>-->
            </div>
        </div>
        <input type="hidden" name="order_id" value="<?php echo ($order['order_id']); ?>" />
    </div>
<script>
$(document).ready(function(){
	 $("input[name='pay_radio']").first().trigger('click');
});
// 切换支付方式
function change_pay(obj)
{
	$(obj).parent().siblings('input[name="pay_radio"]').trigger('click');
}
</script>    
<!--------footer-开始-------------->
<div class="footer ">
    <div class="footer-bd ">
        <p>China Contact: Ms.Sophia Gan EMAIL:sophia@sensilintl.com Tel: 0086 15880683346</p>
        <p>USA Contact: Mr.Brian Williams EMAIL:brain@sensilintl.com
            Tel:001 702 308 4860 M: 001 660537 2111 /001 619 5724642</p>
        <p>© 2017-2018 Sensil International INC.</p>
    </div>
</div>

<!--------footer-结束-------------->
</body>
</html>